package com.demo.server.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import java.util.Date;
import lombok.Data;

@Data
@Schema(description = "设备")
public class Device {
    @Schema(description = "MAC")
    private String mac;

    @Schema(description = "设备名称")
    private String name;

    @Schema(description = "开关:'0' 关闭, '1' 打开")
    private String open;

    @Schema(description = "设备类型")
    private String type;

    @Schema(description = "经度")
    private String longitude;

    @Schema(description = "纬度")
    private String latitude;

    @Schema(description = "地址")
    private String address;

    @Schema(description = "描述")
    private String description;

    @Schema(description = "租户ID")
    private String tenantId;

    @Schema(description = "创建时间")
    private Date createtime;

    @Schema(description = "修改时间")
    private Date modifytime;
}